package com.dnndo.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 用户对象 sys_user
 *
 * @author ruoyi
 */
@Data
@ApiModel("用户对象")
public class SysUserUpdStatusDTO {
    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty(value = "用户ID",name = "userId", required = true)
    private Long userId;

    /**
     * 帐号状态（0正常 1停用）
     */
    @NotBlank(message = "帐号状态不能为空")
    @ApiModelProperty(value = "帐号状态（0正常 1停用）",name = "status", required = true)
    private String status;
}
